<?php
/**
 * Created by PhpStorm.
 * User: 木易
 * Date: 2018/11/12
 * Time: 13:31
 */
namespace app\admin\controller;
use think\Db;

class User extends Base
{
    public function index(){
        $data=Db::table('user')->select();
        $this->assign('data',$data);
        return $this->fetch();
    }
}